module MerchantHelper
  def get_user_count_by(user_id, beginning)
    Merchant.where("created_at >= ?", beginning).
             where(information_clerk_id: user_id).count
  end
end